qtbase-opensource-src.git
5 years agoLimit Linux-only code with Q_OS_LINUX
Pino Toscano [Fri, 11 Dec 2020 08:31:30 +0000 (08:31 +0000)]
Limit Linux-only code with Q_OS_LINUX

Forwarded: no
Last-Update: 2020-04-19

The QStorageInfo/QStorageIterator implementation used for Linux is used also
on Hurd, as it uses an interface provided by GNU libc.
QStorageIterator::device() tries to use PATH_MAX (unavailable on the Hurd)
to lookup a /dev/block/ path, which exists on Linux only; hence, perform that
check within a Q_OS_LINUX block.

Gbp-Pq: Name qstorageinfo_linux.diff

5 years agoAvoid unconditional PATH_MAX usage
Pino Toscano [Fri, 11 Dec 2020 08:31:30 +0000 (08:31 +0000)]
Avoid unconditional PATH_MAX usage

Forwarded: no
Last-Update: 2020-04-19

Use a "safe" size in case PATH_MAX is not defined; in the end, this should not
be used, as a allocating realpath() will be used instead.

Gbp-Pq: Name path_max.diff

5 years agopass default include directories to qdoc
Martin Smith [Fri, 11 Dec 2020 08:31:30 +0000 (08:31 +0000)]
pass default include directories to qdoc

Bug: https://bugs.debian.org/908328
Forwarded: no
Last-Update: 2020-01-28

Gbp-Pq: Name qdoc_default_incdirs.diff

5 years agoguard UTIME_NOW/UTIME_OMIT usages
Dmitry Shachnev [Fri, 11 Dec 2020 08:31:30 +0000 (08:31 +0000)]
guard UTIME_NOW/UTIME_OMIT usages

Forwarded: no
Last-Update: 2018-02-22

Gbp-Pq: Name nonlinux_utime.diff

5 years agosupport ARMv4 architecture, needed for armel builds
Dmitry Shachnev [Fri, 11 Dec 2020 08:31:30 +0000 (08:31 +0000)]
support ARMv4 architecture, needed for armel builds

Forwarded: no
Last-Update: 2016-07-01

Gbp-Pq: Name armv4.diff

5 years agocatch linker warnings in some config tests
Dmitry Shachnev [Fri, 11 Dec 2020 08:31:30 +0000 (08:31 +0000)]
catch linker warnings in some config tests

Forwarded: https://codereview.qt-project.org/163214 (rejected)
Bug: https://bugs.debian.org/827935
Last-Update: 2019-03-02

Without this, qmake wrongly thinks that the tests succeed, for example:

./config.tests/unix/futimens/futimens.cpp:44: warning: futimens is not implemented and will always fail
test config.corelib.tests.futimens succeeded

Gbp-Pq: Name gnukfreebsd_linker_warnings.diff

5 years agobuild ibase sql plugin against firebird
Fathi Boudra [Fri, 11 Dec 2020 08:31:30 +0000 (08:31 +0000)]
build ibase sql plugin against firebird

Forwarded: no
Last-Update: 2017-06-30

Gbp-Pq: Name link_fbclient.diff

5 years agoremove non-used privacy-breach code
Lisandro Damián Nicanor Pérez Meyer [Fri, 11 Dec 2020 08:31:30 +0000 (08:31 +0000)]
remove non-used privacy-breach code

Forwarded: not-needed
Last-Update: 2015-02-18

This code makes Lintian unhappy. But we are really not using it, it only
gets inserted when building the online doc.
Anyways the best way to calm down Lintian is to simply remove it.

Gbp-Pq: Name remove_privacy_breaches.diff

5 years agodisable htmlinfo example which contains non-free files
Dmitry Shachnev [Fri, 11 Dec 2020 08:31:30 +0000 (08:31 +0000)]
disable htmlinfo example which contains non-free files

Forwarded: not-needed
Last-Update: 2014-12-17

Gbp-Pq: Name no_htmlinfo_example.diff

5 years agoInitial GNU/kFreeBSD support
Pino Toscano [Fri, 11 Dec 2020 08:31:30 +0000 (08:31 +0000)]
Initial GNU/kFreeBSD support

Last-Update: 2015-06-03
Forwarded: no

- add a gnukfreebsd-g++ qmake mkspec, mostly copied from the hurd-g++ one
- properly use LD_LIBRARY_PATH on GNU/* systems

Gbp-Pq: Name gnukfreebsd.diff

5 years agoAvoid use-after-free in QXcbConnection::initializeScreens()
Debian Qt/KDE Maintainers [Fri, 11 Dec 2020 08:31:30 +0000 (08:31 +0000)]
Avoid use-after-free in QXcbConnection::initializeScreens()

Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=86b8c5c3f32c2457
Last-Update: 2020-11-23

Gbp-Pq: Name xcb_screens_uaf.patch

5 years agoqtbase-opensource-src (5.15.2+dfsg-2) unstable; urgency=medium
Dmitry Shachnev [Fri, 11 Dec 2020 08:31:30 +0000 (08:31 +0000)]
qtbase-opensource-src (5.15.2+dfsg-2) unstable; urgency=medium

  [ Alexander Volkov ]
  * Backport upstream patch xcb_screens_uaf.patch in order to fix
    use-after-free in the xcb plugin.

  [ Dmitry Shachnev ]
  * Build with libxcb-util-dev 0.4.0 which Debian now has.
    - Drop loosen_xcb-util_requirement.diff, no longer needed.
  * Bump Standards-Version to 4.5.1, no changes needed.
  * Upload to unstable.

  [ Lisandro Damián Nicanor Pérez Meyer ]
  * Build the experimental XCB native painting engine. This has been disabled
    as a default by upstream, but our X2Go users do really benefit from it if
    they export QT_XCB_NATIVE_PAINTING (Closes: #976274).

[dgit import unpatched qtbase-opensource-src 5.15.2+dfsg-2]

5 years agoImport qtbase-opensource-src_5.15.2+dfsg-2.debian.tar.xz
Dmitry Shachnev [Fri, 11 Dec 2020 08:31:30 +0000 (08:31 +0000)]
Import qtbase-opensource-src_5.15.2+dfsg-2.debian.tar.xz

[dgit import tarball qtbase-opensource-src 5.15.2+dfsg-2 qtbase-opensource-src_5.15.2+dfsg-2.debian.tar.xz]

5 years agoImport qtbase-opensource-src_5.15.2+dfsg.orig.tar.xz
Dmitry Shachnev [Fri, 20 Nov 2020 13:08:35 +0000 (13:08 +0000)]
Import qtbase-opensource-src_5.15.2+dfsg.orig.tar.xz

[dgit import orig qtbase-opensource-src_5.15.2+dfsg.orig.tar.xz]